/*
 * @Author: Starfish_DL
 * @Date: 2020-10-08 11:08:38
 * @LastEditors: Starfish_DL
 * @LastEditTime: 2020-10-08 11:14:14
 * @CurrentVersion: 1.0
 * @Description: 
 */

public class GeometricObject {
    protected String color;
    protected double weight;
    protected GeometricObject() {
        this.color="white";
        this.weight=1;
    }
    protected GeometricObject(String color, double weight) {
        this.color=color;
        this.weight=weight;
    }
    public String getColor() {
        return this.color;
    }
    public double getWeight() {
        return this.weight;
    }
    public void setWeight(double weight) {
        this.weight=weight;
    }
    public void setWeColor(String color) {
        this.color=color;
    }
}
